package com.one.entity;

import java.util.Date;

/**
 * 
 * @类描述:订单实体类
 * @作者：于桦
 * @创建时间:2019年4月26日
 * @项目名称:one_upbringcom.one.entity
 */
public class Order {
	private Integer orderId;
	private Date begTime;
	private Date endTime;
	private Adder adder;
	private Teacher teacher;
	private Student student;
	private Model model;
	private Classe classe;
	private String Result;
	private String Evaluate;
	private Date commTime;
	private State state;
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Date getBegTime() {
		return begTime;
	}
	public void setBegTime(Date begTime) {
		this.begTime = begTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Adder getAdder() {
		return adder;
	}
	public void setAdder(Adder adder) {
		this.adder = adder;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public Student getStudent() {
		return student;
	}
	public void setStudent(Student student) {
		this.student = student;
	}
	public Model getModel() {
		return model;
	}
	public void setModel(Model model) {
		this.model = model;
	}
	public Classe getClasse() {
		return classe;
	}
	public void setClasse(Classe classe) {
		this.classe = classe;
	}
	public String getResult() {
		return Result;
	}
	public void setResult(String result) {
		Result = result;
	}
	public String getEvaluate() {
		return Evaluate;
	}
	public void setEvaluate(String evaluate) {
		Evaluate = evaluate;
	}
	public Date getCommTime() {
		return commTime;
	}
	public void setCommTime(Date commTime) {
		this.commTime = commTime;
	}
	public State getState() {
		return state;
	}
	public void setState(State state) {
		this.state = state;
	}
	public Order(Integer orderId, Date begTime, Date endTime, Adder adder,
			Teacher teacher, Student student, Model model, Classe classe,
			String result, String evaluate, Date commTime, State state) {
		super();
		this.orderId = orderId;
		this.begTime = begTime;
		this.endTime = endTime;
		this.adder = adder;
		this.teacher = teacher;
		this.student = student;
		this.model = model;
		this.classe = classe;
		Result = result;
		Evaluate = evaluate;
		this.commTime = commTime;
		this.state = state;
	}
	public Order() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Order [orderId=" + orderId + ", begTime=" + begTime
				+ ", endTime=" + endTime + ", adder=" + adder + ", teacher="
				+ teacher + ", student=" + student + ", model=" + model
				+ ", classe=" + classe + ", Result=" + Result + ", Evaluate="
				+ Evaluate + ", commTime=" + commTime + ", state=" + state
				+ "]";
	}
	
	
}
